<div class="container">
  <h1>get_all_tables()</h1>
  <p class="signature">public function get_all_tables(): array</p>
  <h2>Description</h2>
  <div class="description">
    <p>
      Retrieves all table names from the database.
    </p>
  </div>
  <h2>Parameters</h2>
  <table>
    <thead>
      <tr>
        <th>Parameter</th>
        <th>Type</th>
        <th>Description</th>
        <th>Default</th>
        <th>Required</th>
      </tr>
    </thead>
    <tbody>
      <!-- This method does not take any parameters -->
      <tr>
        <td colspan="5">This method does not take any parameters.</td>
      </tr>
    </tbody>
  </table>
  <h2>Return Value</h2>
  <table>
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>array</td>
        <td>Returns an array of table names.</td>
      </tr>
    </tbody>
  </table>
  <h2>Example Usage</h2>
  <div class="example">
    <pre>// Retrieve all table names from the database
$tables = $this->model->get_all_tables();

// Display the table names
json($tables);</pre>
  </div>
</div>
